[DllImport("dmcl40.dll", EntryPoint="dmAPIGet", CharSet=CharSet.Ansi, ExactSpelling=true,CallingConvention=CallingConvention.Cdecl)]
private extern static string dmAPIGet(string cmd);
public string Get(string command, params object[] args)
{
string cmd = String.Format(null,command, args);
string res = dmAPIGet(cmd);
return res;
}
Do you know one? Please contribute it!